﻿using System;
using System.Diagnostics;

namespace Arch.Common.Data.Trace
{
    public class NullTraceStore : ITraceStore
    {
        public string Name { get { return "Null"; } set { } }

        public bool IsRecursive { get { return true; } set { } }

        public void Log(string message, TraceEventType type)
        {
        }

        public void Log(string message, TraceEventType type, Exception ex)
        {
        }

        public void Debug(string message)
        {
        }

        public void Debug(string message, Exception ex)
        {
        }

        public void Error(string message)
        {
        }

        public void Error(string message, Exception ex)
        {
        }

        public void Info(string message)
        {
        }

        public void Info(string message, Exception ex)
        {
        }

        public void Warning(string message)
        {
        }

        public void Warning(string message, Exception ex)
        {
        }

        public void Critical(string message)
        {
        }

        public void Critical(string message, Exception ex)
        {
        }
    }
}
